package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 【请填写功能名称】对象 tb_cell_pack
 * 
 * @author ruoyi
 * @date 2020-06-25
 */
public class TbCellPack extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long cellXid;

    /** 电池组编码 */
    @Excel(name = "电池组编码")
    private String cellCode;

    /** 电池组型号名称 */
    @Excel(name = "电池组型号名称")
    private String cellName;

    /** 电池组型号编号 */
    @Excel(name = "电池组型号编号")
    private String cellModelCode;

    /** 实际容量 */
    @Excel(name = "实际容量")
    private String cellVolume;

    /** 实际电压 */
    @Excel(name = "实际电压")
    private String cellVoltage;

    /** 实际质量 */
    @Excel(name = "实际质量")
    private String cellQuality;

    /** 出厂时间 */
    @Excel(name = "出厂时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date cellDatea;

    /** 条形码 */
    @Excel(name = "条形码")
    private String cellBarcode;

    /** 所在车辆VIN */
    @Excel(name = "所在车辆VIN")
    private String carVin;

    /** 电池组型号外键 */
    @Excel(name = "电池组型号外键")
    private Long packModelid;

    public void setCellXid(Long cellXid) 
    {
        this.cellXid = cellXid;
    }

    public Long getCellXid() 
    {
        return cellXid;
    }
    public void setCellCode(String cellCode) 
    {
        this.cellCode = cellCode;
    }

    public String getCellCode() 
    {
        return cellCode;
    }
    public void setCellName(String cellName) 
    {
        this.cellName = cellName;
    }

    public String getCellName() 
    {
        return cellName;
    }
    public void setCellModelCode(String cellModelCode) 
    {
        this.cellModelCode = cellModelCode;
    }

    public String getCellModelCode() 
    {
        return cellModelCode;
    }
    public void setCellVolume(String cellVolume) 
    {
        this.cellVolume = cellVolume;
    }

    public String getCellVolume() 
    {
        return cellVolume;
    }
    public void setCellVoltage(String cellVoltage) 
    {
        this.cellVoltage = cellVoltage;
    }

    public String getCellVoltage() 
    {
        return cellVoltage;
    }
    public void setCellQuality(String cellQuality) 
    {
        this.cellQuality = cellQuality;
    }

    public String getCellQuality() 
    {
        return cellQuality;
    }
    public void setCellDatea(Date cellDatea) 
    {
        this.cellDatea = cellDatea;
    }

    public Date getCellDatea() 
    {
        return cellDatea;
    }
    public void setCellBarcode(String cellBarcode) 
    {
        this.cellBarcode = cellBarcode;
    }

    public String getCellBarcode() 
    {
        return cellBarcode;
    }
    public void setCarVin(String carVin) 
    {
        this.carVin = carVin;
    }

    public String getCarVin() 
    {
        return carVin;
    }
    public void setPackModelid(Long packModelid) 
    {
        this.packModelid = packModelid;
    }

    public Long getPackModelid() 
    {
        return packModelid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("cellXid", getCellXid())
            .append("cellCode", getCellCode())
            .append("cellName", getCellName())
            .append("cellModelCode", getCellModelCode())
            .append("cellVolume", getCellVolume())
            .append("cellVoltage", getCellVoltage())
            .append("cellQuality", getCellQuality())
            .append("cellDatea", getCellDatea())
            .append("cellBarcode", getCellBarcode())
            .append("carVin", getCarVin())
            .append("packModelid", getPackModelid())
            .toString();
    }
}
